<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东图片列表</title>

    <style>


        body{
            background-color: #bfa;

        }
        
        /*设置外部ul的样式*/
        .img-list{
            /*设置ul的宽度*/
            width: 190px;
            /*设置ul的高度*/
            height: 470px;
            /*裁剪溢出部分*/
            overflow: hidden;
            /*设置ul的背景颜色*/
            background-color: white;
            /*使ul在页面中居中*/
            margin: 50px auto;
        }
        
        /*设置li的外边距*/
        .img-list li:not(last-child){
            margin-bottom: 6px;
        }

        /*设置图片的规格*/
        .img-list li img{
            width: 190px;
        }

        /*删除浏览器的默认样式*/
        *{
            margin: 0;
            padding: 0;
        }
    </style>

</head>
<body>

    <ul class="img-list">
        <li>
            <a href="javascript:;">
                <img src="./练习的截图/01/1.jpg" alt="">
            </a>           
        </li>

        <li>
            <a href="javascript:;">
                <img src="./练习的截图/01/2.jpg" alt="">
            </a>           
        </li>

        <li>
            <a href="javascript:;">
                <img src="./练习的截图/01/3.jpg" alt="">
            </a>           
        </li>
    </ul>
</body>
</html>